package edu.api.collections_api;

public class Bs_book {

    private Integer id;
    private String isbn;
    private String name;
    private String author;
    private double new_price;

    public Bs_book(Integer id, String isbn, String name, String author, double new_price) {
        this.id = id;
        this.isbn = isbn;
        this.name = name;
        this.author = author;
        this.new_price = new_price;
    }

    public Bs_book() {
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getIsbn() {
        return isbn;
    }

    public void setIsbn(String isbn) {
        this.isbn = isbn;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getAuthor() {
        return author;
    }

    public void setAuthor(String author) {
        this.author = author;
    }

    public double getNew_price() {
        return new_price;
    }

    public void setNew_price(double new_price) {
        this.new_price = new_price;
    }

    @Override
    public String toString() {
        return "Bs_book{" +
                "id=" + id +
                ", isbn='" + isbn + '\'' +
                ", name='" + name + '\'' +
                ", author='" + author + '\'' +
                ", new_price=" + new_price +
                '}';
    }
}
